﻿using System.Web.Mvc;
using DevFramework.Business.Abstract;
using DevFramework.Business.Abstract;

namespace DevFramework.MvcUI.Controllers
{
    public class LanguageController : Controller
    {
        private readonly ILanguageService _languageService;
        private readonly ILanguageWordService _languageWordService;

        public LanguageController(ILanguageService dilService, ILanguageWordService languageWordService)
        {
            _languageService = dilService;
            _languageWordService = languageWordService;
        }

        //
        // GET: /Language/
        public ActionResult List()
        {
            return View(_languageService.GetAll());
        }
	}
}